package com.ghxxzx.daglcustom.business_form.domain;

import com.ghxxzx.daglcustom.utils.CreatedTools;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;
import org.tmsps.ne4spring.orm.model.DataModel;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * .自定义表单类型
 * 
 * @author 刘华
 *
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_form_type")
@org.tmsps.ne4spring.annotation.Table("t_form_type")
public class FormTypePo extends DataModel {

	@Id
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	@GeneratedValue(generator = "idGenerator")
	private String kid;
	// 编号,用于排序
	private String code;
	// 表单类型
	private String type;

	private int status;

	private long created = CreatedTools.getCreated();

}
